<?php get_backend_header(array(
        'ckeditor/ckeditor.js',
	'jquery/validate/jquery.validate.js',
	'message.js',
), array(
	'jquery/ui.jqgrid.css'
)); ?>

<h2 class="title"> View Message</h2>

<form id="cms_form" name="cms_form" class="form">


            <div class="unit">

                
                
                <div class="line">
                        <label for="" class="">From:</label>
                        <div class="field" style="height:auto">
                            <?php echo $name; ?>
                        </div>
                </div>
                

                <div class="line">
                        <label for="" class="">Subject:</label>
                        <div class="field" style="height:auto">
                            <?php echo $subject; ?>
                        </div>
                </div>

                <div class="line">
                        <label for="" class="">Message:</label>
                        <div class="field" style="height:auto; width:auto;">
                           <?php echo $message;?>
                        </div>
                </div>


            </div>


        <div class ="clear"></div>
        
        <div class="buttons">
		
		<a href="<?php echo site_url('message'); ?>" id="cancel" name="cancel">Back to Messages</a>
	</div>

</form>

<script type="text/javascript">


	$('#cancel').button({
		icons: {primary: 'ui-icon-arrowreturn-1-w'}
	});	
	

</script>

<?php get_backend_footer(); ?>
